﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using XinLife.Core.Model;
using XinLife.Core.Extention;
using System.Data.Common;
using XinLife.Model;
using XinLife.Core.Helper;
using SqlSugar;

namespace XinLife.Application
{
    public class BaseRepository : IBaseRepository
    {
        public readonly ISqlSugarClient _db;

        public BaseRepository( ISqlSugarClient db)
        {
            _db = db;
        }
        public ISqlSugarClient GetSqlSugarClient() => _db;

    }
}
